package com.yequan.thread.lock.reentrantlock.condition;

public class Run {

    public static void main(String[] args) {
        try {
            MyService myService = new MyService();
            MyThreadAwait myThreadAwait = new MyThreadAwait(myService);
            myThreadAwait.start();
            Thread.sleep(3000);
            MyThreadSignal myThreadSignal = new MyThreadSignal(myService);
            myThreadSignal.start();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

}
